package com.patterns.demo.factoryMethod.multipleFactory.factory;

import com.patterns.demo.factoryMethod.multipleFactory.method.impl.MailSender;
import com.patterns.demo.factoryMethod.multipleFactory.method.impl.MessegeSender;
import com.patterns.demo.factoryMethod.multipleFactory.method.Sender;

/**
 * Author: SamGroves
 * <p>
 * Description: 多个工厂模式
 * <p>
 * Date: 2017/11/27
 */
public class SendFactory {

    public Sender produceMail() {
        return new MailSender();
    }

    public Sender produceMessege() {
        return new MessegeSender();
    }
}
